//
//  SHCreditCardTfCell.h
//  JiFengDaRen
//
//  Created by SH_iOS on 2017/11/30.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SHCreditCardTfCellDelegate<NSObject>

- (BOOL)creditCardTfCellTextField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;
@end

//添加信用卡信息 文本框cell
@interface SHCreditCardTfCell : UITableViewCell
@property(nonatomic,strong)UILabel *nameLabel;
@property(nonatomic,strong)UITextField *contentTf;
@property(nonatomic,strong)UIView *line;
@property(nonatomic,strong)NSString *labelText;
@property(nonatomic,strong)NSString *placeholder;
@property(nonatomic,weak)id<SHCreditCardTfCellDelegate>delegate;

- (void)setContentTfContentHorizontal:( UIControlContentHorizontalAlignment)alignment;
@end
